package com.wyu.notaryserver.constant;

/**
 * @author 六味lemontea 2025-01-25
 * @version 1.0
 * @description
 */
public enum PictureEnum implements BaseEnum{
    IDCORD(301,"身份证"),
    PASSPORT(302,"护照");

    final Integer code;
    final String desc;

    PictureEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     * 获取枚举类的值
     *
     * @return
     */
    @Override
    public Integer getEnumValue() {
        return code;
    }

    /**
     * 获取枚举类的值的描述
     *
     * @return
     */
    @Override
    public String getEnumDesc() {
        return desc;
    }
}
